package com.taldh.design.patterns.chain.impl;

/**
 * date 2020/6/4
 *
 * @author 袁小黑
 * @version 1.0.0
 **/

public class App {

    public static void main(String[] args) {
        Boss boss = new Boss();
        boss.saleHouse(new Request(2));
        boss.saleHouse(new Request(20));
        boss.saleHouse(new Request(200));
        boss.saleHouse(new Request(21));
        boss.saleHouse(new Request(12));
        boss.saleHouse(new Request(6));
        boss.saleHouse(new Request(9));
    }
}
